home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / hdf / unix / examples.lha / examples / sds / slices / Makefile < prev    next >
Encoding:
Makefile  |  1991-10-18  |  514 b   |  37 lines

  1. # @(#)Makefile  07/19/90
  2. #
  3. #
  4. # Note: change these paths to conform to your system:
  5.  
  6. MACHINE = SUN
  7.  
  8. INCDIR = /stg1/dilg/r5
  9. LIBS    = /stg1/dilg/testr5/lib/libdf.a -lm
  10. FILESDIR = ../files
  11.  
  12. RM      = rm -f
  13. CC      = cc
  14. FC      = f77
  15. DEFS    = -D${MACHINE}
  16.  
  17. CFLAGS  = -g ${DEFS} -I${INCDIR}
  18. FFLAGS  = -g
  19. LDFLAGS =
  20.  
  21. CPROGS  = getslices putslices
  22.  
  23. all:    cprogs 
  24.  
  25. cprogs: ${CPROGS}
  26.  
  27. $(CPROGS):
  28.     ${CC} ${CFLAGS} $@.c ${LDFLAGS} ${COBJS} ${LIBS} ${GLIBS} -o $@
  29.  
  30. clean:
  31.     -${RM} *.o
  32.  
  33. cleanup:
  34.     -${RM} $(CPROGS)
  35.     -${RM} o?
  36.  
  37.